package com.longteng.java.web.dto;

import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;

/**
 * Created by tianqing.wang
 * DATE : 2018/3/31
 * TIME : 下午11:12
 * PROJECT : web-lesson
 * PACKAGE : com.longteng.java.web.dto
 *
 * @author <a href="mailto:celeskyking@163.com">tianqing.wang</a>
 */
public class UserInfo implements Serializable{

    private String user;

    private String age;

    private String type;

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("user", user).append("\n")
                .append("age", age).append("\n")
                .append("type", type).append("\n")
                .toString();
    }
}
